import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import TopTitle from "@/components/TopTitle/index.vue";
import '@/assets/styles/css/font.css'
import * as echarts from 'echarts';
import Carousel3d from 'vue-carousel-3d';
import axios from 'axios';
import { Button,Message,Tabs,TabPane,Select,Option,Dialog,Form,FormItem,OptionGroup,DatePicker,Col,Table,Timeline,TimelineItem,
  TableColumn,Pagination,Checkbox,Tree,Radio,RadioGroup,RadioButton,Cascader,Input,Switch,Carousel,CarouselItem,CheckboxGroup,Rate} from 'element-ui';
import './lib/lib-flexible' //自适应
import scroll from 'vue-seamless-scroll'
import '@/utils/init' // 初始化日期格式化
import {px2rem} from '@/utils/tool'
// import {wgs84togcj02} from '@/utils/coordtransform'
import '@/assets/styles/elui.scss'
import vueToPdf from '@/utils/vueTopdf'
import './assets/styles/style.scss'
import tree from "echarts/src/data/Tree";
Vue.use(vueToPdf)
Vue.use(Radio)
Vue.use(Switch)
Vue.use(Cascader)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(scroll)
Vue.use(Button)
Vue.use(TabPane)
Vue.use(Tabs)
Vue.use(Select)
Vue.use(Option)
Vue.use(Dialog)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(OptionGroup)
Vue.use(DatePicker)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Pagination)
Vue.use(Checkbox)
Vue.use(Tree)
Vue.use(Carousel3d)
Vue.use(Input)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(CheckboxGroup)
Vue.use(Timeline)
Vue.use(TimelineItem)
Vue.use(Rate)
Vue.prototype.$axios = axios
Vue.prototype.$echarts = echarts
Vue.prototype.$px2rem = px2rem
Vue.prototype.$message = Message;
Vue.config.productionTip = false
Vue.component('TopTitle',TopTitle)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
